<?php

function gopy_run($task) {
    switch($task)  {
        case "view" :
        default: view();
        break;
    }
}

function view() {
	$q = "SELECT * FROM gop_y";
    $r = mysql_query($q);
    loadTemplate("view",array("r"=> $r));
}

?>